import {
  BrowserRouter as Router,
  Route,
  Switch} from 'react-router-dom'
import { renderRoutes } from "react-router-config";
import { routes } from './routes';

import "./css/index.css"



function App() {
  return (
    <>
      <Router>
        <Switch>
          {renderRoutes(routes)}
        </Switch>
      </Router>
      {/* <Index></Index>
      {renderRoutes(props.route.routes)} */}
    </>
  );
}
export default App;
